ShortPixel\Controller\QueueController C

Total Complexity 124
Dependencies 15
Dependents 15
Total lines 759
Lines of code 527
Logical lines of code 308
Comment lines 87
Methods 21
Properties 3

Methods 21

Method Rating Maintainability Complexity Lines of code
calculateStatsTotals()
C
36 29 73
runTick()
A
38 11 74
addItemToQueue()
A
38 10 77
processQueue()
A
43 11 52
queueToJson()
A
47 10 37
scaledImageChangedHook()
A
47 10 36
thumbnailsChangedHook()
A
46 9 39
numberFormatStats()
A
50 9 29
getQueue()
S
53 6 24
checkQueueClean()
S
63 5 10
isItemInQueue()
S
65 2 9
resetQueues()
S
66 2 8
uninstallPlugin()
S
66 2 8
getStartupData()
S
61 1 13
logBulk()
S
60 1 12
thumbnailsChangedHookLegacy()
S
80 1 3
__construct()
S
71 1 6
getLastId()
S
80 1 3
getLastQueueStatus()
S
82 1 3
getJsonResponse()
S
68 1 8
setLastID()
S
80 1 3